/*
 * Copyright 2011 Andrew Freer
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 */

#include "resources.h"
#include "globals.h"

/* Window handles */
HWND g_htabctrl;
TabControl g_tabcontrol;
HWND g_hmaindialog;
HWND g_hwndmain;
HINSTANCE g_hinstance;

/* COM related globals */
DxDiag_Root g_dxdiagcom_root;

/* Global loaded strings */
WCHAR *LSTRING_COMMON_WINE_FIXME;
WCHAR *LSTRING_COMMON_;
WCHAR *LSTRING_COMMON_TRUE;
WCHAR *LSTRING_COMMON_FALSE;

void initialize_globals(void)
{
    LSTRING_COMMON_WINE_FIXME =
        get_loadwstring_copy(STRING_COMMON_WINE_FIXME);
    LSTRING_COMMON_ = get_loadwstring_copy(STRING_COMMON_);
    LSTRING_COMMON_TRUE = get_loadwstring_copy(STRING_COMMON_TRUE);
    LSTRING_COMMON_FALSE = get_loadwstring_copy(STRING_COMMON_FALSE);
}
